<body class="hold-transition skin-blue sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">

	<header class="main-header">
		<!-- Logo -->
		<a href="{:Url('/panel/index')}" class="logo">
			<!-- mini logo for sidebar mini 50x50 pixels -->
			<span class="logo-mini"><b>B</b>log</span>
			<!-- logo for regular state and mobile devices -->
			<span class="logo-lg"><b>小白</b>Blog</span>
		</a>
		<!-- Header Navbar: style can be found in header.less -->
		<nav class="navbar navbar-static-top">
			<!-- Sidebar toggle button-->
			<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"></a>

			<div class="navbar-custom-menu">
				<ul class="nav navbar-nav">
					<!-- User Account: style can be found in dropdown.less -->
					{if condition="!empty($is_cache)"}
					<li class="dropdown user user-menu">
						<a href="{:Url('site/clear_cache')}">清除缓存</a>
					</li>
					{/if}
					<li class="dropdown user user-menu">
						<a href="{:Url('/')}" target="_blank">查看网站</a>
					</li>
					<li class="dropdown user user-menu">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<img src="__CSS__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
							<span class="hidden-xs">{php} echo session('nicename');{/php}</span>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="#">
									<i class="fa fa-cog"></i>设置
								</a>
							</li>

							<li>
								<a href="{:Url('admin/editpwd')}">
									<i class="fa fa-user"></i>修改密码
								</a>
							</li>

							<li class="divider"></li>

							<li>
								<a href="{:Url('login/logout')}">
									<i class="fa fa-power-off"></i>退出
								</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
		</nav>
	</header>